package com.mxfcode.front.bbs_comment.service;

import com.mxfcode.entity.BBSComment;

import java.util.List;

/**
 * @author moxiufeng
 * @date 2021/3/14 18:47
 */
public interface CommentService {
    List<BBSComment> findCommentsByEntity(int entityType, String entityId, int offset, int limit);

    int findCommentCount(int entityType, String entityId);

    int addComment(BBSComment comment);

    BBSComment findCommentById(int id);

    int addAnswerQuestionsComment(BBSComment comment);
}
